import {
	createSSRApp
} from 'vue'
import App from './App'
import store from './store' // store
import {
	install
} from './plugins' // plugins
import './permission' // permission
import {
	useDict
} from '@/utils/dict'
// 引入 uView UI
import uView from './uni_modules/vk-uview-ui';
export function createApp() {
	const app = createSSRApp(App)
	app.use(store)
	// 使用 uView UI
	app.use(uView)
	app.config.globalProperties.useDict = useDict
	install(app)
	return {
		app
	}
}